<?php
	define('_DRIVER', 'mysql');
	define('_SERVER', 'localhost');
	define('_USER', 'root');
	define('_PASSWORD', '');
	define('_DB_NAME', 'nomade');
	$dsn = _DRIVER.
			':host=' . _SERVER.
            ';dbname='._DB_NAME;
    try{
		$con = new PDO($dsn, _USER, _PASSWORD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
	}catch(Exception $e){$e->getMessage();}
	?>